package com.turing.post.account.util;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 帐户子系统交易流水
 * @author ZXL
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "AccountSystemTradDetail")
public class AccountSystemTradDetail implements Serializable {

	public AccountSystemTradDetail() {
		super();
	}

	/**
	 * 帐户子系统流水号
	 */
	private String AccSeqNo = null;

	@Id
	@Column(name = "AccSeqNo", nullable = false)
	public String getAccSeqNo() {
		return this.AccSeqNo;
	}

	public void setAccSeqNo(String accSeqNo) {
		this.AccSeqNo = accSeqNo;
	}

	/**
	 * 帐务日期
	 */
	private Date TranDate = null;

	@Column(name = "TranDate", nullable = false)
	public Date getTranDate() {
		return this.TranDate;
	}

	public void setTranDate(Date tranDate) {
		this.TranDate = tranDate;
	}

	/**
	 * 发卡方NO
	 */
	private String IssueCompanyNo = null;

	@Column(name = "IssueCompanyNo", nullable = false)
	public String getIssueCompanyNo() {
		return this.IssueCompanyNo;
	}

	public void setIssueCompanyNo(String issueCompanyNo) {
		this.IssueCompanyNo = issueCompanyNo;
	}

	/**
	 * 交易时间
	 */
	private Date TranTime = null;

	@Column(name = "TranTime", nullable = false)
	public Date getTranTime() {
		return this.TranTime;
	}

	public void setTranTime(Date tranTime) {
		this.TranTime = tranTime;
	}

	/**
	 * 交易子系统流水号
	 */
	private String TranSeqNo = null;

	@Column(name = "TranSeqNo", nullable = false)
	public String getTranSeqNo() {
		return this.TranSeqNo;
	}

	public void setTranSeqNo(String tranSeqNo) {
		this.TranSeqNo = tranSeqNo;
	}

	/**
	 * 合计贷方发生额
	 */
	private BigInteger CreditAmount = BigInteger.ZERO;

	@Column(name = "CreditAmount", nullable = false)
	public BigInteger getCreditAmount() {
		return this.CreditAmount;
	}

	public void setCreditAmount(BigInteger creditAmount) {
		this.CreditAmount = creditAmount;
	}

	/**
	 * 合计借方发生额
	 */
	private BigInteger DebitAmount = BigInteger.ZERO;

	@Column(name = "DebitAmount", nullable = false)
	public BigInteger getDebitAmount() {
		return this.DebitAmount;
	}

	public void setDebitAmount(BigInteger debitAmount) {
		this.DebitAmount = debitAmount;
	}
	
	/**
	 * 撤销/被撤销帐户子系统流水号
	 */
	private String CancelAccSeqNo = null;

	@Column(name = "CancelAccSeqNo", nullable = true)
	public String getCancelAccSeqNo() {
		return this.CancelAccSeqNo;
	}

	public void setCancelAccSeqNo(String cancelAccSeqNo) {
		this.CancelAccSeqNo = cancelAccSeqNo;
	}

	/**
	 * 撤销/被撤销帐务日期
	 */
	private Date CancelTranDate = null;

	@Column(name = "CancelTranDate", nullable = true)
	public Date getCancelTranDate() {
		return this.CancelTranDate;
	}

	public void setCancelTranDate(Date cancelTranDate) {
		this.CancelTranDate = cancelTranDate;
	}

	/**
	 * 撤销/被撤销交易子系统流水号
	 */
	private String CancelTranSeqNo = null;

	@Column(name = "CancelTranSeqNo", nullable = true)
	public String getCancelTranSeqNo() {
		return this.CancelTranSeqNo;
	}

	public void setCancelTranSeqNo(String cancelTranSeqNo) {
		this.CancelTranSeqNo = cancelTranSeqNo;
	}

	/**
	 * 操作员ID
	 */
	private BigInteger OperId = null;

	@Column(name = "OperId", nullable = true)
	public BigInteger getOperId() {
		return this.OperId;
	}

	public void setOperId(BigInteger operId) {
		this.OperId = operId;
	}

	/**
	 * 交易摘要
	 */
	private String Summary = null;

	@Column(name = "Summary", nullable = true)
	public String getSummary() {
		return this.Summary;
	}

	public void setSummary(String summary) {
		this.Summary = summary;
	}
}
